/*
 * XML Type:  ConnectionVisualModel
 * Namespace: http:///org/isistan/flabot/edit/editormodel.ecore
 * Java type: org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.edit.editormodelEcore;


/**
 * An XML ConnectionVisualModel(@http:///org/isistan/flabot/edit/editormodel.ecore).
 *
 * This is a complex type.
 */
public interface ConnectionVisualModel extends org.isistan.flabot.edit.editormodelEcore.NodeVisualModel
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ConnectionVisualModel.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("connectionvisualmodele488type");
    
    /**
     * Gets array of all "bendpoints" elements
     */
    org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint[] getBendpointsArray();
    
    /**
     * Gets ith "bendpoints" element
     */
    org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint getBendpointsArray(int i);
    
    /**
     * Returns number of "bendpoints" element
     */
    int sizeOfBendpointsArray();
    
    /**
     * Sets array of all "bendpoints" element
     */
    void setBendpointsArray(org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint[] bendpointsArray);
    
    /**
     * Sets ith "bendpoints" element
     */
    void setBendpointsArray(int i, org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint bendpoints);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "bendpoints" element
     */
    org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint insertNewBendpoints(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "bendpoints" element
     */
    org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint addNewBendpoints();
    
    /**
     * Removes the ith "bendpoints" element
     */
    void removeBendpoints(int i);
    
    /**
     * Gets array of all "source" elements
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel[] getSourceArray();
    
    /**
     * Gets ith "source" element
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel getSourceArray(int i);
    
    /**
     * Returns number of "source" element
     */
    int sizeOfSourceArray();
    
    /**
     * Sets array of all "source" element
     */
    void setSourceArray(org.isistan.flabot.edit.editormodelEcore.NodeVisualModel[] sourceArray);
    
    /**
     * Sets ith "source" element
     */
    void setSourceArray(int i, org.isistan.flabot.edit.editormodelEcore.NodeVisualModel source);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "source" element
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel insertNewSource(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "source" element
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel addNewSource();
    
    /**
     * Removes the ith "source" element
     */
    void removeSource(int i);
    
    /**
     * Gets array of all "target" elements
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel[] getTargetArray();
    
    /**
     * Gets ith "target" element
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel getTargetArray(int i);
    
    /**
     * Returns number of "target" element
     */
    int sizeOfTargetArray();
    
    /**
     * Sets array of all "target" element
     */
    void setTargetArray(org.isistan.flabot.edit.editormodelEcore.NodeVisualModel[] targetArray);
    
    /**
     * Sets ith "target" element
     */
    void setTargetArray(int i, org.isistan.flabot.edit.editormodelEcore.NodeVisualModel target);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "target" element
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel insertNewTarget(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "target" element
     */
    org.isistan.flabot.edit.editormodelEcore.NodeVisualModel addNewTarget();
    
    /**
     * Removes the ith "target" element
     */
    void removeTarget(int i);
    
    /**
     * Gets the "sourceTerminal" attribute
     */
    java.lang.String getSourceTerminal();
    
    /**
     * Gets (as xml) the "sourceTerminal" attribute
     */
    org.apache.xmlbeans.XmlString xgetSourceTerminal();
    
    /**
     * True if has "sourceTerminal" attribute
     */
    boolean isSetSourceTerminal();
    
    /**
     * Sets the "sourceTerminal" attribute
     */
    void setSourceTerminal(java.lang.String sourceTerminal);
    
    /**
     * Sets (as xml) the "sourceTerminal" attribute
     */
    void xsetSourceTerminal(org.apache.xmlbeans.XmlString sourceTerminal);
    
    /**
     * Unsets the "sourceTerminal" attribute
     */
    void unsetSourceTerminal();
    
    /**
     * Gets the "targetTerminal" attribute
     */
    java.lang.String getTargetTerminal();
    
    /**
     * Gets (as xml) the "targetTerminal" attribute
     */
    org.apache.xmlbeans.XmlString xgetTargetTerminal();
    
    /**
     * True if has "targetTerminal" attribute
     */
    boolean isSetTargetTerminal();
    
    /**
     * Sets the "targetTerminal" attribute
     */
    void setTargetTerminal(java.lang.String targetTerminal);
    
    /**
     * Sets (as xml) the "targetTerminal" attribute
     */
    void xsetTargetTerminal(org.apache.xmlbeans.XmlString targetTerminal);
    
    /**
     * Unsets the "targetTerminal" attribute
     */
    void unsetTargetTerminal();
    
    /**
     * Gets the "target" attribute
     */
    java.lang.String getTarget2();
    
    /**
     * Gets (as xml) the "target" attribute
     */
    org.apache.xmlbeans.XmlString xgetTarget2();
    
    /**
     * True if has "target" attribute
     */
    boolean isSetTarget2();
    
    /**
     * Sets the "target" attribute
     */
    void setTarget2(java.lang.String target2);
    
    /**
     * Sets (as xml) the "target" attribute
     */
    void xsetTarget2(org.apache.xmlbeans.XmlString target2);
    
    /**
     * Unsets the "target" attribute
     */
    void unsetTarget2();
    
    /**
     * Gets the "source" attribute
     */
    java.lang.String getSource2();
    
    /**
     * Gets (as xml) the "source" attribute
     */
    org.apache.xmlbeans.XmlString xgetSource2();
    
    /**
     * True if has "source" attribute
     */
    boolean isSetSource2();
    
    /**
     * Sets the "source" attribute
     */
    void setSource2(java.lang.String source2);
    
    /**
     * Sets (as xml) the "source" attribute
     */
    void xsetSource2(org.apache.xmlbeans.XmlString source2);
    
    /**
     * Unsets the "source" attribute
     */
    void unsetSource2();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel newInstance() {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.edit.editormodelEcore.ConnectionVisualModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
